module.exports = {
    // productionSourceMap: false,
    devServer: {
        proxy: {
            '/api/': {
              // target: 'https://www.cczztt.club:8888/api',
              target:'http://127.0.0.1:8888',
              ws: true,
              changeOrigin: true,
              // pathRewrite:{'^/api/':'/'}
            },
            
          }
    },
    publicPath: process.env.NODE_ENV === 'production' ? '/user' : '/',
    css: {
      loaderOptions: {
          less: {
              javascriptEnabled: true,
          }
      }
  },
}